<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>registry component</title>
  <script src="/vue.js"></script>
</head>
<body>
  <div id="root">
    <my-component></my-component>
    <your-component></your-component>
    <child></child>
  </div>
  <script type="module">
    import Child from './Child.js'

    Vue.component('my-component', {
      template: `
        <div>hello</div>
      `
    })

    const YourComponent = {
      template: `
        <div>world</div>
      `
    }

    var vm = new Vue({
      el: '#root',
      components: {
        YourComponent,
        Child
      }
    })
  </script>
</body>
</html>